package com.vates.gestion.dao.impl;

import java.util.List;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;

import com.vates.gestion.dao.BaseDAO;
import com.vates.gestion.entidades.Telefono;
@Repository(value = "telefonoDAO")
public class TelefonoDAOImpl implements BaseDAO<Telefono> {
	
	
	private EntityManager em;

	/*
	 * Sets the entity manager.
	 */
	@PersistenceContext
	public void setEntityManager(EntityManager em) {
		this.em = em;
	}
	

	@Override
	public void guardar(Telefono entidad) {
		// TODO Auto-generated method stub
	}

	@Override
	public Telefono buscarPorId(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Telefono> buscarTodos() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Telefono> buscarPorNombre(String nombre) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void borrar(Telefono entidad) {
		// TODO Auto-generated method stub
		
	}

}
